//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.aidong.dao.wills;

import com.aidong.dao.wills.BaseDao;
import com.aidong.model.wills.PayBaosteel;
import org.springframework.stereotype.Repository;

@Repository
public class PayBaosteelDao extends BaseDao<PayBaosteel, Integer> {
    public PayBaosteelDao() {
    }

    public boolean updatePayStatus(PayBaosteel payBs) {
        String sql = "update PayBaosteel set status=:p1, payTime=:p2, note=:p3 where autoId=:p4";
        return this.updateBySql(sql, new Object[]{payBs.getStatus(), payBs.getPayTime(), payBs.getNote(), payBs.getAutoId()}) > 0;
    }
}
